package com.jic.market.api.rest;

import com.jic.common.base.vo.RestResult;
import com.jic.market.request.rest.allocation.QueryAllocationAndThemeInfoRequest;
import com.jic.market.request.rest.allocation.UpdateAllocationInfoRequest;
import com.jic.market.response.rest.allocation.QueryAllocationAndThemeInfoResponse;

import java.util.List;

/**
 * @author xuyongliang
 * @version V1.0
 * @className AllocationRestApi
 * @description TODO
 * @date 2020/4/10
 */
public interface AllocationRestApi {


    /**
     * 根据活动编码，查询分摊信息以及所对应的活动信息
     *
     * @param request
     * @return
     */
    RestResult<List<QueryAllocationAndThemeInfoResponse>> queryAllocationAndThemeInfo(QueryAllocationAndThemeInfoRequest request);


    /**
     * 同步分摊信息接口
     *
     * @param request
     * @return
     */
    RestResult<Boolean> updateAllocationInfo(UpdateAllocationInfoRequest request);
}